<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/18
 * Time: 14:21
 */

namespace app\index\model;


use think\Model;

class MemberBalanceInfo extends Model
{

    protected $table = "duck_member_balance_info";
    protected $autoWriteTimestamp = true;
    protected $createTime = 'time';
    public function getStatusAttr($value)
    {
        $status = [1=>false,2=>true];
        return $status[$value];
    }

}